package com.zelin.service.impl;

import com.zelin.pojo.Student;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zelin.mapper.StudentMapper;
import com.zelin.service.StudentService;

import java.util.List;

/**
 * Created by WF on 2021/10/19 15:07
 */
@Service
public class StudentServiceImpl implements StudentService{

    @Resource
    private StudentMapper studentMapper;

    @Override
    public List<Student> findAll() {
        return studentMapper.selectByExample(null);
    }
}
